<?php



    $form = $item->form;
    $scaffoldingData = db::getDataLine("_html_form", "caption='$form'");



    $scaffolding = new scaffolding();
    $scaffolding->tableName = "anmeldung";
    $scaffolding->tableUrl = $scaffoldingData['url_redirect'];
    $scaffolding->htmlFormId = $scaffoldingData['id'];
    $htmlForm = $scaffolding->createForm();


    //$htmlForm = "ich bin ein formaulr";


    $item->outertext = $htmlForm;


?>